﻿@{
    ViewBag.Title = "PdfView";
   
}

<div id ="pdf"></div>
@*<iframe src="~/Content/pdf/web/viewer.html?file=@ViewBag.Url" width="100%" height="100%"></iframe>*@
 
@section scripts
{
    <script type="text/javascript" src="../Scripts/pdfobject.js"></script>
<script type="text/javascript">
    window.onload = function () {
        var success = new PDFObject({ url: '@ViewBag.Url' }).embed('pdf');

    };
</script>
}